<form class="form-horizontal css-form" name="form" novalidate>
<div class="modal-header">
    <h3 class="modal-title">请输入您的个人信息</h3>
</div>
<div class="modal-body">
      <div class="form-group">
        <label for="_name" class="col-sm-2 control-label">姓名</label>
        <div class="col-sm-10">
          <input required ng-model="enroll.user" type="text" class="form-control" id="_name" placeholder="怎么称呼您？">
        </div>
      </div>
      <div class="form-group">
        <label for="_email" class="col-sm-2 control-label">邮箱</label>
        <div class="col-sm-10">
          <input required ng-model="enroll.email" type="email" class="form-control" id="_email" placeholder="我们会发送一些资料给您">
        </div>
      </div>
      <div class="form-group">
        <label  for="_phone" class="col-sm-2 control-label">手机号</label>
        <div class="col-sm-10">
          <input required ng-minlength="11" ng-maxlength="11"  ng-model="enroll.phone" type="number" class="form-control" id="_phone" placeholder="我们会通知您不要迟到">
        </div>
      </div>      
      <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
          <div class="checkbox">
            <label>
              <input ng-model="enroll.recvEmail" type="checkbox"> 是否接受本次主题的邮件资料?
            </label>
          </div>
        </div>
      </div>
       
</div>
<div class="modal-footer">
    <button type="button"
       ng-disabled="form.$invalid"
     class="btn btn-danger" ng-click="confirm()">火速报名</button>
    <button type="submit" class="btn btn-default" ng-click="cancel()">我很忙</button>
</div>
</form>
